package app.modules.infrastructure.profile.persistence.entity;

import com.baomidou.mybatisplus.annotation.FieldStrategy;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import jasmine.framework.database.mybatisplus.annotation.I18n;
import jasmine.framework.database.mybatisplus.entity.BaseI18nEntity;

/**
 * @author mh.z
 */
@TableName("sys_profile_option")
public class ProfileOptionEO extends BaseI18nEntity {

    /** 配置项ID */
    @TableField("profile_item_id")
    private Long profileItemId;

    /** 名称 */
    @I18n
    @TableField("option_name")
    private String optionName;

    /** 值 */
    @TableField("option_value")
    private String optionValue;

    /** 描述 */
    @I18n
    @TableField(value = "option_desc", updateStrategy = FieldStrategy.IGNORED)
    private String optionDesc;

    /** 启用标志 */
    @TableField("enable_flag")
    private Boolean enableFlag;

    /** 租户ID */
    @TableField("tenant_id")
    private Long tenantId;

    public Long getProfileItemId() {
        return profileItemId;
    }

    public void setProfileItemId(Long profileItemId) {
        this.profileItemId = profileItemId;
    }

    public String getOptionName() {
        return optionName;
    }

    public void setOptionName(String optionName) {
        this.optionName = optionName;
    }

    public String getOptionValue() {
        return optionValue;
    }

    public void setOptionValue(String optionValue) {
        this.optionValue = optionValue;
    }

    public String getOptionDesc() {
        return optionDesc;
    }

    public void setOptionDesc(String optionDesc) {
        this.optionDesc = optionDesc;
    }

    public Boolean getEnableFlag() {
        return enableFlag;
    }

    public void setEnableFlag(Boolean enableFlag) {
        this.enableFlag = enableFlag;
    }

    public Long getTenantId() {
        return tenantId;
    }

    public void setTenantId(Long tenantId) {
        this.tenantId = tenantId;
    }
}
